package com.springcloud.service;


import com.baomidou.mybatisplus.service.IService;
import com.springcloud.commons.result.Tree;
import com.springcloud.model.SysResource;
import com.springcloud.model.SysUser;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * SysResource 表数据服务层接口
 *
 */
@Service
public interface ISysResourceService extends IService<SysResource> {

	List<SysResource> selectAll();

    List<Tree> selectAllTree();

    List<Tree> selectAllTrees();

    List<Tree> selectTree(SysUser currentUser);

    List<SysResource> selectResourceByRoleIds(List roleIds);

    List<String> selectRoleNamesByURI(String uri);

}